package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PsitemmonitorDao;
import com.bootdo.screen.domain.PsitemmonitorDO;
import com.bootdo.screen.service.PsitemmonitorService;



@Service
public class PsitemmonitorServiceImpl implements PsitemmonitorService {
	@Autowired
	private PsitemmonitorDao psitemmonitorDao;
	
	@Override
	public PsitemmonitorDO get(Integer id){
		return psitemmonitorDao.get(id);
	}
	
	@Override
	public List<PsitemmonitorDO> list(Map<String, Object> map){
		return psitemmonitorDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return psitemmonitorDao.count(map);
	}
	
	@Override
	public int save(PsitemmonitorDO psitemmonitor){
		return psitemmonitorDao.save(psitemmonitor);
	}
	
	@Override
	public int update(PsitemmonitorDO psitemmonitor){
		return psitemmonitorDao.update(psitemmonitor);
	}
	
	@Override
	public int remove(Integer id){
		return psitemmonitorDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return psitemmonitorDao.batchRemove(ids);
	}
	
}
